package chapter6;

/**
 * Created by lenovo on 2016/3/24.
 */
public class demoMagician {
    public static void main(String[] args) {
        Magician2 magician=new Magician2();
        magician.getName();
        magician.getLevel();
        magician.setBlood(100);
        System.out.printf("魔法师:(%s,%d,%d)%n",magician.getName(),magician.getLevel(),magician.getBlood());
    }

}
